<!--
/*
*All rights reserved: Json.
*Links:http://www.liyaoquan.cn.
*Links:http://imarkchina.cn.
*Links:http://www.imarkchina.cn.
*/
-->
{A('public/tools')}
<script type="text/javascript">
    // window.UEDITOR_HOME_URL = "{ROOT_URL}/Public/ueditor/";
    window.onload = function(){
        window.UEDITOR_CONFIG.initialFrameWidth = 880,
        window.UEDITOR_CONFIG.initialFrameHeight = 450;
        UE.getEditor('mark');
    }
</script>
<script type="text/javascript" src="{ROOT_URL}{C('edit')}ueditor.config.js"></script>
<script type="text/javascript" src="{ROOT_URL}{C('edit')}ueditor.all.min.js"></script>
<div class="main-wrap">
    <div class="crumb-wrap">
        <div class="crumb-list"><span class="crumb-name">分类设置</span></div>
    </div>
    <div class="result-wrap">
        <form action="{U('checkdata')}" method="post">
            <div class="config-items">
                <div class="result-content">
                    <table width="100%" class="insert-tab">
                        <tbody>
                            <tr>
                                <th width="15%"><i class="require-red">*</i>标题：</th>
                                <td><input type="text" id="" value="{$file['title']}" size="50" name="title" class="common-text" placeholder="在此输入标题" /></td>
                            </tr>
                            <tr>
                                <th>ID：</th>
                                <td><input type="text" id="" value="{$file['id']}" size="50" name="id" class="common-text" placeholder="（可留空）在此输入路径（如:imarkchina）" {if $check}readonly="readonly"{/if} /></td>
                            </tr>
                            <tr>
                                <th>排序：</th>
                                <td><input type="text" id="" value="{$file['ord']}" size="50" name="ord" class="common-text"></td>
                            </tr>
                             <tr>
                                <th>关键词：</th>
                                <td><input type="text" id="" value="{$file['keyword']}" size="50" name="keyword" placeholder="（可留空）在此输入关键词" class="common-text"></td>
                            </tr>
                             <tr>
                                <th>描述：</th>
                                <td><input type="text" id="" value="{$file['des']}" size="50" placeholder="（可留空）在此输入描述" name="des" class="common-text"></td>
                            </tr>
                            <tr>
                                <th>评论：</th>
                                <td><select name="ispl" class="required">
                                    <option value="1" {if $file['ispl']}selected="selected"{/if}>允许</option>
                                    <option value="0" {if !$file['ispl']}selected="selected"{/if}>禁用</option>
                                </select>
                                前台可视：
                                <select name="index_show" class="required">
                                    <option value="1" {if $file['index_show']}selected="selected"{/if}>是</option>
                                    <option value="0" {if !$file['index_show']}selected="selected"{/if}>否</option>
                                </select>
                            </tr>
                            <tr>
                                <th width="15%"><i class="require-red">*</i>内容：</th>
                                <td><textarea id="mark" name="content">{$file['content']}</textarea></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input type="submit" value="提交" class="btn btn-primary btn6 mr10">
                                    <input type="button" value="返回" onclick="history.go(-1)" class="btn btn6">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <input type="hidden" name="date" value="{$file['date']}"/>
            <input type="hidden" name="time" value="{$file['time']}"/>
        </form>
    </div>
</div>
<!--/main-->
</div>
</body>
</html>